import unittest
import requests

class ihrm_login():
    @classmethod
    def login(cls,json_data):
        resp = requests.post(url="http://ihrm2-test.itheima.net/api/sys/login",
                             json=json_data)
        return resp